package com.prs.crm.dao.taskmanager.impl;

import java.util.Collection;
import java.util.List;

import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.taskmanager.TaskTypeDao;
import com.prs.crm.domain.taskmanager.TaskAllot;
import com.prs.crm.domain.taskmanager.TaskType;

public class TaskTypeDaoImpl extends BaseDaoImpl<TaskType> implements TaskTypeDao{

	@Override
	public List<TaskType> getAllTaskType() {
		Criteria criteria=this.getSession().createCriteria(TaskType.class);
		return criteria.list();
	}
}
